@extends('fontend.master')

@section('custom-head')
     <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
     <script src="//code.jquery.com/jquery-1.10.2.js"></script>
    <script type="text/javascript">
    $(document).ready(function () {
        $(".datepicker").datepicker({
          dateFormat: 'yy-mm-dd'
        });
      });
    </script>
@stop

@section('main')
<form method="post">
<div class="ct-thongbao">
    <div>
        <span class="span-tb">
            <a>Tìm kiếm công văn đi</a>
        </span>
    </div>
    <div class="gach">
        <div style="margin-left: 10px; margin-top: 10px; font-size: 16px;" class="noidung">
            <table class="table" id="tbl-tk">
            <thead>
              <tr>
                <th style="text-align: center;">Tiêu đề</th>
                <th style="text-align: center;">Nội dung</th>
              </tr>
            </thead>
            <tbody>
            @foreach($articles as $k_articles)                                                          
              <tr>                                                    
                <td id="socongvan">{{$k_articles->socongvan}}</td>
                <td id="tieude">{{$k_articles->tieude}}</td>       
              </tr>
              @endforeach              
            </tbody>
          </table> 
          
        </div>
        <div class="gach-bottom"></div>
    </div>                     
    <div>                             
    </div>
</div> 
</form>
@stop